﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

// “空白页”项模板在 http://go.microsoft.com/fwlink/?LinkId=234238 上有介绍

namespace otis.views
{
    /// <summary>
    /// 可用于自身或导航至 Frame 内部的空白页。
    /// </summary>
    public sealed partial class GridviewGroup : Page
    {
        public GridviewGroup()
        {
            this.InitializeComponent();

            var items = new List<entities.demo.Province>();
            items.Add(new entities.demo.Province() { ProvinceName = "吉林", CityNames = new List<string>() { "长春","吉林"} });
            items.Add(new entities.demo.Province() { ProvinceName = "辽宁", CityNames = new List<string>() { "沈阳", "大连","本溪" } });

            this.InfoList.Source = items;
        }
    }
}
